<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>html属性</title>
</head>
<body>

<!--
1. autocomplete
from或input应该拥有自动填充功能
适用于from标签以及以下类型的input标签
text,search,url,telephone,email,password,datepickers,range,color
-->


<form action="autocomplete.html" autocomplete="on">
    <input type="text" name="name">
    <input type="email" name="color">
    <input type="submit" value="提交">
</form>
</body>
</html>